package com.lovely602.boot.bootdemo.filter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * token上下文内容
 * 
 * @author lizhixing
 */
@Setter
@Getter
@ToString
public class TokenContext {

  @ApiModelProperty(value = "租户id", example = "lhtest")
  private String tenantId;
  @ApiModelProperty(value = "组织类型", example = "-")
  private String orgType;
  @ApiModelProperty(value = "组织id", example = "-")
  private String orgId;
  @ApiModelProperty(value = "用户id", example = "30c266f510e311ea96f77cd30ae41148")
  private String userId;
  @ApiModelProperty(value = "用户名称", example = "管理员233")
  private String userName;
  @ApiModelProperty(value = "员工id", example = "aeed9c327cca4c77ab3936316a9e00d7")
  private String employeeId;
  @ApiModelProperty(value = "员工代码", example = "10010")
  private String employeeCode;
  @ApiModelProperty(value = "员工名称", example = "战略共享")
  private String employeeName;
}
